package com.studyroom.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.studyroom.entity.Snack;
import java.util.List;

public interface SnackService extends IService<Snack> {
    Page<Snack> getSnackPage(Page<Snack> page, 
                            String name,
                            Double minPrice,
                            Double maxPrice,
                            Integer minStock,
                            Integer maxStock,
                            Integer status);

    List<Snack> getAvailableSnacks();
} 